package cn.net.cfss.fgbp.api.console.dto;

import cn.net.cfss.fgbp.base.page.BaseDto;

import javax.persistence.*;

@Table(name = "t_sys_user_busi_type")
public class SysUserBusiTypeDto extends BaseDto {
    /**
     * 用户ID
     */
    @Column(name = "USER_ID")
    private Long userId;

    /**
     * 业务类型ID
     */
    @Column(name = "BUSI_TYPE_ID")
    private Long busiTypeId;

    public SysUserBusiTypeDto(Long id, Long userId, Long busiTypeId) {
        super();
        this.setId(id);
        this.userId = userId;
        this.busiTypeId = busiTypeId;
    }

    /**
     * 获取用户ID
     *
     * @return USER_ID - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取业务类型ID
     *
     * @return BUSI_TYPE_ID - 业务类型ID
     */
    public Long getBusiTypeId() {
        return busiTypeId;
    }

    /**
     * 设置业务类型ID
     *
     * @param busiTypeId 业务类型ID
     */
    public void setBusiTypeId(Long busiTypeId) {
        this.busiTypeId = busiTypeId;
    }
}